﻿{extend name="index/index"}
{block name="centent"}
<div class="clear"></div>
<!--图片切换-->
<div class="nybanner"><img src="/static/index/imgs/nybanner.jpg" /></div>
<!--筛选条件-->
<ul class="select">
  <li class="select-list">
    <dl id="select1">
      {volist name="ress" id="v"}
      <dt>{$v['name']}：</dt>
      {/volist}
      <dd class="select-all selected"><a href="#">全部</a></dd>
      {volist name="res" id="v"}
      <dd><a href="{:url('index/Index/sanji',['path' => $v['path']])}">{$v['name']}</a></dd>
      {/volist}
    </dl>
  </li>
</ul>
<div class="clear"></div>
<!--中间内容-->
<div class="subbox">
  <ul class="prolist">
    {empty name="picture"}

      <li style="width:100%;height:100px;text-align: center;line-height: 100px;"><font color="#ccc" size="5" align="center">还没有图片.....</font></li>

      {else/}

      {volist name="picture" id="v"}
      <li>
        <div class="proimg"><a href="{:url('index/Index/detail',['id'=>$v['id']])}"><img src="http://phv2jzzej.bkt.clouddn.com/{$v.src}" width="290" height="290" /></a></div>
        <div class="protitle"><a href="#">{$v['title']}</a></div>
        <div class="proinfo">
          <span class="price"><a href="{:url('index/User/toview',['uid' => $v['user_id']])}">
            {empty name="$v.icon" id="v"}
            <img src="/static/index/imgs/vip.jpg" width="30" height="30"/>
            {else /} 
            <img src="http://phv2jzzej.bkt.clouddn.com/{$v.icon}" width="30" height="30"/>
            {/empty}</a>
          </span>
          <span class="price" style="color:black">&nbsp;&nbsp;&nbsp;{$v.name}</span>
          <span class="goumai"><a href="#">关注</a></span>
          <span class="goumai"><a href="#">收藏</a></span>
        </div>
      </li>
      {/volist}
      {/empty}
  </ul>
</div>

{/block}